package com.ktjy.springredis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjy.springredis.entity.RoleRight;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @return 13141
 * 2025/7/21
 * 10:49
 */
public interface RoleRightMapper extends BaseMapper<RoleRight> {
    // 根据角色 id 查询角色所拥有的权限
    public List<RoleRight> getRight(@Param("rfRoleId") Long rfRoleId);
}
